#write by 李大宝
#write in 2019,7,17

from app.exts import db

class Poem(db.Model):
    id = db.Column(db.Integer, autoincrement=True, primary_key=True)
    name = db.Column(db.String(200))
    body = db.Column(db.Text)
    tags = db.Column(db.String(200))
    dynasty = db.Column(db.String(20))
    auth = db.Column(db.String(20))